<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<ul class="pagination">
	<c:if test="${page.hasPre}">
		<li>
			<a title="" href="javascript:jumpPage(${page.prePage})"><fmt:message key="view.previous" /></a>
		</li>
	</c:if>

	<c:if test="${!page.pageList.hasFirstPage}">
		<li><a href="javascript:jumpPage(1)">1</a></li>
		<li class="text">...</li>  
	</c:if>
	<c:forEach items="${page.pageList.pageIndices}" var="idx">
		<li <c:out value="${idx == page.pageNo ? 'class=page' : ''}"/>><a title="" href="javascript:jumpPage(${idx})">${idx}</a></li>
	</c:forEach>
	<c:if test="${!page.pageList.hasLastPage}">
		<li class="text">...</li>  	
		<li><a href="javascript:jumpPage(${page.totalPages})">${page.totalPages}</a></li>  
	</c:if>	
	<c:if test="${page.hasNext}">
		<li>
			<a title="" href="javascript:jumpPage(${page.nextPage})"><fmt:message key="view.next" /></a>
		</li>
	</c:if>
</ul>